package com.x.crm.model;


import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@MappingTable(tableName = "CRM_FOLLOW_UP")

public class FollowUp extends BaseObject {

	@MappingColumn(columnName = "FOLLOW_UP_ID", columnPk = true, columnLength = 32)
	private String followUpId;

	@MappingColumn(columnName = "UP_CUSTOMER_NAME")
	private String upCustomerName;

	@MappingColumn(columnName = "UP_FOLLOWER_ID")
	private String upFollowerId;

	@MappingColumn(columnName = "UP_FOLLOWER_NAME")
	private String upFollowerName;

	@MappingColumn(columnName = "UP_LEVEL_ID")
	private String upLevelId;

	@MappingColumn(columnName = "UP_LEVEL_TXT")
	private String upLevelTxt;

	@MappingColumn(columnName = "UP_FOLLOW_MODE")
	private Integer upFollowMode;

	@MappingColumn(columnName = "NEXT_FOLLOW_TIME")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date nextFollowTime;

	@MappingColumn(columnName = "UP_FOLLOW_REMARK")
	private String upFollowRemark;

	@MappingColumn(columnName = "INTENTION_ID")
	private String intentionId;

	@MappingColumn(columnName = "UP_UPDATE_TIME")
	private Date upUpdateTime;

	@MappingColumn(columnName = "UP_CREATE_TIME")
	private Date upCreateTime;

	public String getFollowUpId() {
		return followUpId;
	}

	public void setFollowUpId(String followUpId) {
		this.followUpId = followUpId;
	}

	public String getUpCustomerName() {
		return upCustomerName;
	}

	public void setUpCustomerName(String upCustomerName) {
		this.upCustomerName = upCustomerName;
	}

	public String getUpFollowerId() {
		return upFollowerId;
	}

	public void setUpFollowerId(String upFollowerId) {
		this.upFollowerId = upFollowerId;
	}

	public String getUpFollowerName() {
		return upFollowerName;
	}

	public void setUpFollowerName(String upFollowerName) {
		this.upFollowerName = upFollowerName;
	}

	public String getUpLevelId() {
		return upLevelId;
	}

	public void setUpLevelId(String upLevelId) {
		this.upLevelId = upLevelId;
	}

	public String getUpLevelTxt() {
		return upLevelTxt;
	}

	public void setUpLevelTxt(String upLevelTxt) {
		this.upLevelTxt = upLevelTxt;
	}

	public Integer getUpFollowMode() {
		return upFollowMode;
	}

	public void setUpFollowMode(Integer upFollowMode) {
		this.upFollowMode = upFollowMode;
	}

	public Date getNextFollowTime() {
		return nextFollowTime;
	}

	public void setNextFollowTime(Date nextFollowTime) {
		this.nextFollowTime = nextFollowTime;
	}

	public String getUpFollowRemark() {
		return upFollowRemark;
	}

	public void setUpFollowRemark(String upFollowRemark) {
		this.upFollowRemark = upFollowRemark;
	}

	public String getIntentionId() {
		return intentionId;
	}

	public void setIntentionId(String intentionId) {
		this.intentionId = intentionId;
	}

	public Date getUpUpdateTime() {
		return upUpdateTime;
	}

	public void setUpUpdateTime(Date upUpdateTime) {
		this.upUpdateTime = upUpdateTime;
	}

	public Date getUpCreateTime() {
		return upCreateTime;
	}

	public void setUpCreateTime(Date upCreateTime) {
		this.upCreateTime = upCreateTime;
	}

}
